package com.service;


import com.dao.BaseDao;
import com.entity.Teacher;

import java.util.List;

public class TeacherService extends BaseDao {

    public List<Teacher> queryTeachers(){
        String sql = "select * from teacher";
        return findList(Teacher.class, sql);
    }

}
